

<div id="tabs">
    <ul>
        <li><a href="index.php?r=main/nutritionlist&disid=1">高血压</a></li>
        <li><a href="index.php?r=main/nutritionlist&disid=2">冠心病</a></li>
        <li><a href="index.php?r=main/nutritionlist&disid=3">脑卒中</a></li>
        <li><a href="index.php?r=main/nutritionlist&disid=4">糖尿病</a></li>
    </ul>
</div>
<div id="main">
    <table  id="table_list">
        <tr><th class='headerTH'>图片</th><th class='headerTH'>名称</th><th class='headerTH'>内容</th><th class='headerTH'>详情</th></tr>
    <?php foreach($result as $key=>$value){
        echo "<tr><td class='contentTD'><img src=".$value['url']." width=92 heith=94></td><td class='contentTD'>".$value['title']."</td><td class='contentTD'>".$value['content']."</td><td class='contentTD'><a href='index.php?r=disease/nutritionItem/disid/1/itemname/nutrition_elemen&itemname=".$value['itemname']."'>详情</a></td></tr>";
    }?>
        </table>
</div>
<div id="footer">
    <?php
//    $this->widget('CLinkPager', array(
//        'header' => '',
//        'firstPageLabel' => '首页',
//        'lastPageLabel' => '末页',
//        'prevPageLabel' => '上一页',
//        'nextPageLabel' => '下一页',
//        'pages' => $result->getPagination(),
//        'maxButtonCount' => 10
//            )
//    );
    ?>
</div>